#ifndef __SCREEN_H__
#define __SCREEN_H__

/* Assume for now that default mode is text 80x24 color */

#define VIDEO_MEM 0xB8000

#define WIDTH 80
#define HEIGHT 25

#define ATT_BLACK 0
#define ATT_BLUE  1
#define ATT_GREEN 2
#define ATT_LGREY 7

#define ATTRIB(F, B) ((unsigned char)( ((B) << 4) | ((F) & 0x0F)) )

void set_attrib(const unsigned char);

void move_cursor(int _x, int _y);

void putint(int num, int base);
void putch(const char);
void puts(const char *);

void clear(void);

#endif /* __SCREEN_H__ */
